{include file='fcworker/fc_head'}

<body style="background:#f8f8f8">
<div id="mescroll" class="mescroll">
    <div id="app">
        <a href="/{php echo createMobileUrl('x_index',array('themeid'=>$themeid));}" class="homeTag"><img src="{$_G['URL']['FCWORK_CSS']}images/homeBtn.png"></a>
        <div class="setTitle">
            <a href="javascript:history.back(-1)"></a>
            活动日报
        </div>
        <div class="h167"></div>
        <!--活动日报-->
        {if $allcompany}
        <div class="activeBox">
            <div class="activeBar">
                <div class="activeInfor activeTab">
                    <div class="tabTit">活动日报</div>
                    <table cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <th>日期</th>
                            <th>新粉丝</th>
                            <th>转发</th>
                            <th>浏览量</th>
                            <th>直销</th>
                            <th><span>成交</span></th>
                            <th>线下</th>
                        </tr>
                        {loop $allcompany $key $item}
                        <tr>
                            <td>{$item['riqi']}</td>
                            <td>{$item['newfans']}</td>
                            <td>{$item['forward']}</td>
                            <td>{$item['scansum']}</td>
                            <td>{$item['recordzx']}</td>
                            <td><span>{$item['record']}</span></td>
                            <td>{$item['recordxx']}</td>
                        </tr>
                        {/loop}
                    </table>
                </div>
            </div>
        </div>
        {/if}
        <!--公司日报-->
        {if $mycompany}
        <div class="activeBox">
            <div class="activeBar">
                <div class="activeInfor activeTab">
                    <div class="tabTit">公司日报{$workertips}</div>
                    <table cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <th>日期</th>
                            <th>新粉丝</th>
                            <th>转发</th>
                            <th>浏览量</th>
                            <th>直销</th>
                            <th><span>成交</span></th>
                            <th>线下</th>
                        </tr>
                        {loop $mycompany $key $item}
                        <tr>
                            <td>{$item['riqi']}</td>
                            <td>{$item['newfans']}</td>
                            <td>{$item['forward']}</td>
                            <td>{$item['scansum']}</td>
                            <td>{$item['recordzx']}</td>
                            <td><span>{$item['record']}</span></td>
                            <td>{$item['recordxx']}</td>
                        </tr>
                        {/loop}
                    </table>
                </div>
            </div>
        </div>
        {/if}
        <!--团队日报-->
        {if $team}
        {loop $team $key $item}
        <div class="activeBox">
            <div class="activeBar">
                <div class="activeInfor activeTab">
                    <div class="tabTit">团队日报-{$item['teamname']}</div>
                    <table cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                            <th>日期</th>
                            <th>新粉丝</th>
                            <th>转发</th>
                            <th>浏览量</th>
                            <th>直销</th>
                            <th><span>成交</span></th>
                            <th>线下</th>
                        </tr>
                        {loop $item['list'] $k $items}
                        <tr>
                            <td>{$items['riqi']}</td>
                            <td>{$items['newfans']}</td>
                            <td>{$items['forward']}</td>
                            <td>{$items['scansum']}</td>
                            <td>{$items['recordzx']}</td>
                            <td><span>{$items['record']}</span></td>
                            <td>{$items['recordxx']}</td>
                        </tr>
                        {/loop}
                    </table>
                </div>
            </div>
        </div>
        {/loop}
        {/if}
        <div class="h110"></div>
    </div>
</div>

</body>
<!--  下拉刷新-->
<script>
    const mescroll = new MeScroll("mescroll", {
        down: {
            auto: false,
            callback: () => {
                mescroll.endSuccess();
                setTimeout(() => {
                    window.location.reload();
                },500)
            }
        },
        up: {
            use: false
        }
    })
</script>
<script>
    $('.choseBar2 span').click(function(){
        $(this).addClass('on').siblings().removeClass('on');
    })
    $('.moreChose span').click(function(){
        if($(this).hasClass('on')){
            $(this).removeClass('on')
        }else{
            $(this).addClass('on')
        }
    })
</script>
{include file='fcworker/fc_base_foot'}
</html>
